Gets the index of the selected items in the list. Use this property to determine the indexes of the currently selected items in the list if the list control allows multiple selection.
Syntax
publicint[] getSelectedIndexes()
Return Value
An array of indexes of the selected items in the list. The default is null, which indicates that nothing is selected.